﻿using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace Cn.Cellula.Client {
    public class AppSettingsKey {
        #region 网站参数
        /// <summary>
        /// 标记是否已经完成安装。
        /// 0:未完成
        /// 1:完成
        /// </summary>
        public const String SysInstallation = "sys_installation";
        /// <summary>
        /// 数据库类型
        /// </summary>
        public const String SysDbType = "sys_db_type";
        /// <summary>
        /// 网站名称
        /// </summary>
        public const String SysSiteName = "sys_site_name";
        /// <summary>
        /// 网页标题
        /// </summary>
        public const String SysPageTitle = "sys_page_title";
        /// <summary>
        /// 网站Logo Url
        /// </summary>
        public const String SysLogoUrl = "sys_logo_url";
        /// <summary>
        /// copyright
        /// </summary>
        public const String SysCopyright = "sys_copyright";
        /// <summary>
        /// 上传文件path
        /// </summary>
        public const String SysUploadPath = "sys_upload_path";
        /// <summary>
        /// 上传文件url
        /// </summary>
        public const String SysUploadUrl = "sys_upload_url";
        /// <summary>
        /// 上传文件类型校验，如果未设或者空串，则表示不进行过滤
        /// </summary>
        public const String SysUploadFilePattern = "sys_upload_file_pattern";
        /// <summary>
        /// 上传图片类型校验，如果未设或者空串，则表示不进行过滤
        /// </summary>
        public const String SysUploadImagePattern = "sys_upload_image_pattern";
        /// <summary>
        /// 上传文件过滤，如果未设或者空串，则表示不进行过滤
        /// </summary>
        public const String SysUploadFileFilter = "sys_uplload_file_filter";
        /// <summary>
        /// 缩略图宽度最大值
        /// </summary>
        public const String ThumbnailMaxWidth = "thumbnail_max_width";
        /// <summary>
        /// 缩略图高度最大值
        /// </summary>
        public const String ThumbnailMaxHeight = "thumbnail_max_height";
        #endregion

        #region 用户系统
        /// <summary>
        /// 注册用户的角色
        /// </summary>
        public const String UserRoleDefault = "user_role_default";
        /// <summary>
        /// 注册审核方式
        /// </summary>
        public const String UserRegCheck = "user_reg_check";
        /// <summary>
        /// 用户用什么登录
        /// </summary>
        public const String UserLoginProperty = "user_login_property";
        /// <summary>
        /// 非法的用户注册名
        /// </summary>
        public const String UserIllegalName = "user_illegal_name";

        #endregion

        #region 邮件服务
        /// <summary>
        /// smtp server地址
        /// </summary>
        public const String SmtpServer = "smtp_server";
        /// <summary>
        /// smtp 登录名
        /// </summary>
        public const String SmtpUser = "smtp_user";
        /// <summary>
        /// smtp 密码
        /// </summary>
        public const String SmtpPwd = "smtp_pwd";
        /// <summary>
        /// smtp 回复地址
        /// </summary>
        public const String SmtpFrom = "smtp_from";
        /// <summary>
        /// 服务器端口号
        /// </summary>
        public const String SmtpPort = "smtp_port";
        /// <summary>
        /// 是否需要启用ssl验证
        /// </summary>
        public const String SmtpSSL = "smtp_ssl";
        #endregion

        #region 产品模块
        public const String ProductNoAuto = "product_no_auto";
        #endregion

        #region 系统参数
        #region 日程
        /// <summary>
        /// 待办事项关联的对象
        /// </summary>
        public const String TodoRefItemCategoryKey = "runtime_parm_todo_ref_item_key";

        #endregion
        #endregion
    }
}
